package flexlingo.binders
{
	import mx.controls.DataGrid;
	import flexlingo.managers.LingoManager;
	import mx.controls.dataGridClasses.DataGridColumn;
	
	public class DataGridBinder
	{
		
		public static function bind(dataGrid:DataGrid):void
		{
			for each( var column : DataGridColumn in dataGrid.columns )
			{	
				LingoManager.bindProperty( column.headerText, column, "headerText" );
			} 
		}
		
	
	}
}